<template>
	<view class="commission-container">
		<view class="commission-bg">
			<view class="money">0.00</view>
			<view class="money-text">我的余额</view>
			<button class="withdrawal-btn">提现</button>
		</view>
		<view>
			<block v-for="item in 8">
				<view class="d-flex justify-content-between align-items-center item-box">
					<view>
						<view class="item-box-title">遗嘱咨询</view>
						<view class="item-box-date mt-3">2021.08.20 9:30:25</view>
					</view>
					<view>
						<view class="item-box-money"><text>-￥</text>20</view>
						<view class="mt-3 item-box-paymode">微信支付</view>
					</view>
				</view>
			</block>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">
	.commission-container {
		line-height: 1;

		.commission-bg {
			width: 750rpx;
			height: 409rpx;
			background: url('@/static/images/my/commission-bg.png') no-repeat;
			background-size: 100% 100%;
			overflow: hidden;

			.money {
				font-size: 70rpx;
				font-weight: bold;
				color: #FFFFFF;
				text-align: center;
				margin-top: 120rpx;
			}

			.money-text {
				text-align: center;
				font-size: 22rpx;
				font-weight: 500;
				color: #FFFFFF;
				margin-top: 22rpx;
			}


			.withdrawal-btn {
				width: 175rpx;
				height: 60rpx;
				background: #FFFFFF;
				border-radius: 30rpx;
				font-size: 24rpx;
				font-weight: 500;
				color: #53B3D9;
				margin: 32rpx auto;
				line-height: 60rpx;
			}
		}

		.item-box {
			height: 100rpx;
			padding: 0 30rpx;

			.item-box-title {
				font-size: 28rpx;
				font-weight: bold;
				color: #333333;
			}

			.item-box-money {
				text {
					font-size: 18rpx;
				}

				font-size: 28rpx;
				font-weight: bold;
				color: #CC1313;
			}

			.item-box-date {
				font-size: 22rpx;
				font-weight: 500;
				color: #CCCCCC;
			}

			.item-box-paymode {
				font-size: 22rpx;
				font-weight: 500;
				color: #666666;
			}
		}
	}
</style>
